package com.grad.why.studentsystem.service;

import com.grad.why.studentsystem.domain.Unknownfaces;

import java.util.List;

public interface UnKnownFacesService {
    /**
     * 管理员角色获取未知人脸信息
     * @param offset
     * @param limit
     * @param search
     * @return
     */
    List<Unknownfaces> getUnknownFacesListByAdmin(int offset, int limit, String search);

    long getUnknownFacesLengthByAdmin(String search);

    List<Unknownfaces> getUnknownFacesListByTeacher(int offset, int limit, String search,int bindid);

    long getUnknownFacesLengthByTeacher(String search, int bindid);

    int deleteUnknownFaceInfoById(String id);

    int checkSidMatchCourseId(Integer formatterNum, int courseId);

    Unknownfaces getUnknownFaceInfoById(String unknownfaceid);

    int updateInfoByEntity(Unknownfaces unknownfaces);

    List<Unknownfaces> getUnknownFacesListByOrgStudent(int offset, int limit, String search, int bindid);

    long getUnknownFacesLengthByOrgStudent(String search, int bindid);
}
